package org.example.service;

import org.example.bean.Orders;
import org.example.bean.Search;

import java.util.List;

public interface OrdersService {
    List<Orders> ordersAll();


    List<Orders> ordersType(String o_type,Integer page,Integer pageSize);

    Integer total(String oType);

    Integer update(String oType,Integer oId);

    List<Orders> searchAll(Search search);

    List<Orders> jy(String type,Integer oId);

    boolean fuel(Integer oId,Integer[] f,String[] breeds);

    boolean pf(Integer oId, Integer oil, Integer serve, Integer other);

    boolean yc(Integer oId, String info);

    boolean complete(Integer oId, Integer[] ff, String[] breeds);

    List<Orders> ordersTypeScore(String supplier,String oType, Integer page, Integer pageSize);

    Integer totalScore(String supplier, String oType);

    Integer totalThen();

    List<Orders> searchAllThen(Search search);

    List<Orders> ordersTypeThen(String oType, Integer page, Integer pageSize);

    Orders idSer(Integer oId);

    Integer updateSupplier(Integer oId, String supplier);
}
